#include<stdio.h>

int max(int a, int b){
    if(a < b) return b;
    return b;
}

int min(int a, int b){
    if(a < b) return a;
    return b;
}

int main(){
    int a,b,c,maxn,minn;
    double pingjun;
    scanf("%d%d%d",&a,&b,&c);
    maxn=max(a,b);
    maxn=max(maxn,c);
    minn=min(a,b);
    minn=min(minn,c);   
    pingjun=(a+b+c)/3.0;
    printf("%d %d %lf",maxn,minn,pingjun);
    return 0;
}